<?php 
class Company_menuModel extends BaseModel {
	public function select_menu(){
		$cid = $_SESSION['company']['cid'];
		$menu = $this->where('cid ='.$cid)->find();
		return $menu;
	}
	public function download_resume(){
		$cid = $_SESSION['company']['cid'];
		$result = $this->where('cid ='.$cid)->setDec('resume_num');
		return $result;
	}
	public function send_job(){
		$cid = $_SESSION['company']['cid'];
		$result = $this->where('cid ='.$cid)->setDec('job_num');
		return $result;
	}
	public function refresh_job(){
		$cid = $_SESSION['company']['cid'];
		$result = $this->where('cid ='.$cid)->setDec('refresh');
		return $result;
	}
	public function stick_job(){
		$cid = $_SESSION['company']['cid'];
		$result = $this->where('cid ='.$cid)->setDec('stick');
		return $result;
	}
}
?>